#include <iostream>

using namespace std;

#ifdef __cplusplus
extern "C" {
#endif

void foo1(void){}
void foo2(void){}
void foo3(int i){}

#ifdef __cplusplus
}
#endif

int main(int argc, char **argv){
    foo1();
    foo2();
    foo3(1);
    return 0;
}
